/* 
 * File:   CoreTimerDelay.h
 * Author: frank
 *
 * Created on November 29, 2014, 3:18 PM
 */

#ifndef CORETIMERDELAY_H
#define	CORETIMERDELAY_H

typedef void (*CoreTimerCallback)();

void CoreDelay_Init();
void CoreDelay_Sync_us(unsigned int us);
void CoreDelay_Callback(CoreTimerCallback function);
// Return number of waiting if rejected.  Return 0 on success.
int CoreDelay_Async_us(unsigned int us);

#endif	/* CORETIMERDELAY_H */

